package com.ems.dao.system;

import com.ems.pojo.system.SysNotice;

import java.util.List;
import java.util.Map;

/**
 * @Auther: 伟伟
 * @Date: 2020/1/2
 * @Description: 描述
 * @Version: 1.0
 */
public interface NoticeDao {

    public void addNotice(SysNotice sysNotice);

    public void deleteNoticeById(SysNotice sysNotice);

    public void updateNoticeById(SysNotice sysNotice);

    public List<SysNotice> findNoticeByPage(Map<String,Object> map);

    public List<SysNotice> queryNoticeNowTime(String nowTime);

    public void deleteUnStartNotice(String time);

    public void deleteStretedNotice(String time);

}
